{extend name="../application/public/base.html" /}
{block name="head"}
	<link rel="stylesheet" href="ADMIN_CUSTOM/css/list.css">
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right;" onclick="location.reload()" title="刷新"><i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                        	<form class="layui-form">
	                        	<div class="layui-card-body ">
		                            <div class="layui-col-space5">
		                            	<div class="layui-input-inline layui-show-xs-block">
											<label>产品分类</label>
										 	<div class="layui-input-inline">
											  	<select name="category_id" class="layui-select">
			                                        <option value="{:config('parameter.repair_cat_id')}">维修配件</option>
			                                   	</select>
										  	</div>
								     	</div>
								     	<div class="layui-input-inline layui-show-xs-block">
											<label>产品子分类</label>
										 	<div class="layui-input-inline">
											  	<select name="cat_id" class="layui-select" lay-filter="select">
			                                        <option value="">全部</option>
			                                        {volist name="cate" id="v"}
			                                        <option value="{$v.category_id}">{$v.category_name}</option>
			                                        {/volist}
			                                   	</select>
										  	</div>
								     	</div>
								     	<div class="layui-input-inline layui-show-xs-block">
											<label>产品品牌</label>
										 	<div class="layui-input-inline">
											  	<select name="brand_name" class="layui-select">
			                                        <option value="">全部</option>
			                                   	</select>
										  	</div>
								     	</div>
								     	<div class="layui-input-inline layui-show-xs-block">
											<label>产品内存</label>
										 	<div class="layui-input-inline">
											  	<select name="memory_name" class="layui-select">
			                                        <option value="">全部</option>
			                                   	</select>
										  	</div>
								     	</div>
								     	<div class="layui-input-inline layui-show-xs-block">
											<label>产品属性</label>
										 	<div class="layui-input-inline">
											  	<select name="attribute_name" class="layui-select">
			                                        <option value="">全部</option>
			                                   	</select>
										  	</div>
								     	</div>
								     	<div class="layui-input-inline layui-show-xs-block">
											<label>产品颜色</label>
										 	<div class="layui-input-inline">
											  	<select name="colour_name" class="layui-select">
			                                        <option value="">全部</option>
			                                   	</select>
										  	</div>
								     	</div>
								     	<div class="layui-input-inline layui-show-xs-block">
										 	<div class="layui-input-inline">
											  	<input type="text" placeholder="请输入关键字进行搜索" name="keyword" autocomplete="off" class="layui-input">
										  	</div>
								     	</div>
		                                <div class="layui-input-inline layui-show-xs-block">
		                                    <div class="layui-btn" lay-submit="" lay-filter="search">
		                                        <i class="layui-icon">&#xe615;</i></div>
		                                </div>
		                            </div>
		                        </div>
		                        <div class="layui-card-body ">
		                            <div class="layui-btn" onclick="batch_return()">批量返库</div>
		                            <div class="layui-btn" onclick="xadmin.open('返库历史','/repair/stock/log_list')">返库历史</div>
		                            <div class="layui-btn" style="float: right;" lay-submit lay-filter="export">导出</div>
		                        </div>
	                        </form>
                            <div class="layui-tab">
							  	<div class="layui-tab-content">
									<table class="layui-table layui-form" id="table-list" lay-filter="list">
		                              	
	                            	</table>
							  	</div>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
	<script type="text/javascript" src="ADMIN_CUSTOM/js/repair/stock/index.js"></script>
	
       
	<script type="text/html" id="table-btn">
	  <a class="layui-btn layui-btn-xs" lay-event="query_ret">确认返库</a>
	</script>
{/block}